package com.fulihui.wgj.admin.integration;

import com.fulihui.common.result.web.PageView;
import com.fulihui.common.result.web.Result;
import com.fulihui.wgj.admin.api.wxtemplate.request.AutoLogQueryRequest;
import com.fulihui.wgj.admin.api.wxtemplate.request.SendTemplateQueryRequest;
import com.fulihui.wgj.admin.api.wxtemplate.request.TemplateAutoTaskRequest;
import com.fulihui.wgj.admin.api.wxtemplate.request.TemplateAutoTaskSaveRequest;
import com.fulihui.wgj.admin.api.wxtemplate.vo.TemplateAutoLogVO;
import com.fulihui.wgj.admin.api.wxtemplate.vo.TemplateAutoTaskVO;

/**
 * @author: Levon
 * @date: 2018-08-07 15:25
 */
public interface AutoTaskServiceClient {

    PageView<TemplateAutoTaskVO> querytask(TemplateAutoTaskRequest request);

    PageView<TemplateAutoLogVO> querySendLog(AutoLogQueryRequest request);

    Result<Boolean> createAutoTask(TemplateAutoTaskSaveRequest request);

    Result<String> countUserAuto(TemplateAutoTaskSaveRequest request);

    Result<TemplateAutoTaskVO> querytaskById(SendTemplateQueryRequest request);

    Result<Boolean> editAutoTask(TemplateAutoTaskSaveRequest request);


}
